package com.zb.zeus.system.api.domain.dto;

import javax.validation.constraints.NotNull;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 发企业微信群消息-图文消息
 * @author liangfan
 * @date 2021/07/12 15:02
 **/
@Data
public class WxGroupTextCardMsgDTO extends BaseWxMsgDTO{

    @JsonProperty("textcard")
    @JSONField(name = "textcard")
    @ApiModelProperty("卡片消息内容")
    @NotNull(message = "卡片不能为空")
    private WxTextCard textCard;




    @Override
    public String checkData(){
        return super.checkData();
    }
}
